package com.ruoyi.gd.lswgd.domain.bo;

import com.ruoyi.common.core.validate.AddGroup;
import com.ruoyi.common.core.validate.EditGroup;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.validation.constraints.*;

import java.util.Date;

import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 历史完工单业务对象 z_lswgd
 *
 * @author ruoyi
 * @date 2024-06-30
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class ZLswgdBo extends BaseEntity {

    /**
     * id
     */
    private String id;

    /**
     * 报价类型
     */
    @NotBlank(message = "报价类型不能为空", groups = { AddGroup.class, EditGroup.class })
    private String bjlx;

    /**
     * 备注
     */
    private String bz;

    /**
     * 客户id
     */
    @NotBlank(message = "客户id不能为空", groups = { AddGroup.class, EditGroup.class })
    private String khid;

    /**
     * 客户编号
     */
    @NotBlank(message = "客户编号不能为空", groups = { AddGroup.class, EditGroup.class })
    private String khbh;

    /**
     * 客户名字
     */
    @NotBlank(message = "客户名字不能为空", groups = { AddGroup.class, EditGroup.class })
    private String khname;

    /**
     * 附件id
     */
    private String fjid;

    /**
     * 历史完工单id
     */
    private Long lswgdid;

    /**
     * 总报价单id
     */
    private String zbjdid;


}
